package com.tmzn.transdata.constant;

/**
 * 汽车单双枪 充电常量
 */
public class NormalChargeConstant{
    //发送主题指令
    public static final String SEND_TOPIC = "d_wt1206_d2113/";
    //获取主板消息
    public static final String GET_MAINBOARD_MSG  = "[85,96,1,0,97]";

    //重启设备
    public static final String RESTART_DEVICE = "[85,117,1,0,118]";

    //端口详情
    public static final String PORT_DETAIL = "[85,103,1,0,104]";

    //命令方为 85
    public static final Integer CMD_SEND = 85;

    //读取主板参数
    public static final Integer CMD_SET_MAINBOARD = 75960;


    //开始充电
    public static final Integer CMD_START_CHARGE = 75960;

    //结束充电
    public static final Integer CMD_STOP_CHARGE = 75960;

   //---------配置文件名称

    public static final String CONFIG_DIR = "config";

    //发送消息
    public static final String CONFIG_SEND_SUFFIX = "send";

    //返回消息
    public static final String CONFIG_BACK_SUFFIX = "back";
   //配置文件名称 主板
   public static final String CONFIG_MAINBOARD_FILENAME = "mainboard";
    //预约充电
    public static final String CONFIG_PLANCHARGE_FILENAME = "plancharge";
    //开始充电
    public static final String CONFIG_STARTCHARTGE_FILENAME = "startcharge";

    //结束充电
    public static final String CONFIG_ENDCHARGE_FILENAME = "endcharge";

    //结束充电通知
    public static final String CONFIG_ENDNOTICE_FILENAME = "endchargenotice";

    //重启设备
    public static final String CONFIG_RESTART_DEVICE = "restartdeivce";

    //端口状态
    public static final String CONFIG_PORT_STATUS = "portstatus";

    //双枪端口详情
    public static final String CONFIG_PORT_DETAIL_DOUBLE = "portdetaildouble";

    //单枪端口详情
    public static final String CONFIG_PORT_DETAIL_SINGLE = "portdetailsingle";

    //端口上报
    public static final String CONFIG_PORT_REPORT = "portreport";

    //远程禁用或者开启端口
    public static final String CONFIG_PORT_OPER = "portoper";



    //----------配置文件结束


    //各个指令key


    //主板
    public static final Integer KEY_MAINBOARD = 96;


    //开启充电
    public static final Integer KEY_STARTCHARGE = 104;


    //结束充电
    public static final Integer KEY_ENDCHARGE = 105;

    //结束充电通知
    public static final Integer KEY_END_NOTICE = 113;


    //重启充电桩
    public static final Integer KEY_RESTART_DEVICE = 117;

    //端口状态
    public static final Integer KEY_PORT_STATUS = 101;

    //端口详情
    public static final Integer KEY_PORT_DETAIL = 103;

    //主动上报详情
    public static final Integer KEY_PORT_REPORT = 115;


    //远程禁用或者开启端口
    public static final Integer KEY_PORT_OPER = 112;

    //各个指令key --- end

}
